package com.fastwire.carriere.schedule.runnable;

import com.fastwire.carriere.common.util.CommonLogger;
import com.fastwire.carriere.common.util.DateUtil;
import com.fastwire.carriere.controller.ServiceOrderController;
import com.fastwire.carriere.controller.impl.ServiceOrderControllerImpl;

public class U2kProvisionThread implements Runnable {

	@Override
	public void run() {

		ServiceOrderController controller = new ServiceOrderControllerImpl();
		try {
			controller.processPendingServiceOrders(DateUtil.getDate());
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
			CommonLogger.error(this, e.getMessage());
		}

	}
}
